package com.example.newstudent.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class student {
    String id;
    String name;
    String pin;
    String provinces;
    String telephone;
    int status;
    String gender;
    public boolean isEmpty(String str) {
        return str == null || str.isEmpty();
    }
}
